package test2;


public class Piegon extends Bird 
{
   
   /**
    * @roseuid 657FABA703AA
    */
   public Piegon() 
   {
      theFlyBehavior = new FreeFly();
      theSwimBehavior = new UnableSwim();
   }
   
   /**
    * @roseuid 657FABB202B1
    */
   public void display() 
   {
      System.out.println("Piegon:");
      theFlyBehavior.fly();
      theSwimBehavior.swim();
   }
}
